//package com.zjx.postprocessor;
//
//import org.springframework.beans.BeansException;
//import org.springframework.beans.PropertyValues;
//import org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor;
//import org.springframework.stereotype.Component;
//
///**
// * Description:
// * <p>
// * ClassName: MyInstantiationAwareBeanPostProcessor
// * date: 2021/3/28 20:35
// *
// * @author zzjx
// * @version 1.0
// * @since JDK 1.8
// */
//@Component
//public class MyInstantiationAwareBeanPostProcessor implements InstantiationAwareBeanPostProcessor {
//	@Override
//	public boolean postProcessAfterInstantiation(Object bean, String beanName) throws BeansException {
//		System.out.println("InstantiationAwareBeanPostProcessor......init");
//		return false;
//	}
//
//	@Override
//	public PropertyValues postProcessProperties(PropertyValues pvs, Object bean, String beanName) throws BeansException {
//		System.out.println("InstantiationAwareBeanPostProcessor......init");
//		return null;
//	}
//    //在我们实例化创建一个bean组件之前，我们可以通过这个后置处理器返回一个对象，返回什么都可以，那么接下来的创建
//	//组件的逻辑都不会执行，创建组件结束
//	@Override
//	public Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName) throws BeansException {
//		return null;
//	}
//	//	@Override
////	public PropertyValues postProcessPropertyValues(PropertyValues pvs, PropertyDescriptor[] pds, Object bean, String beanName) throws BeansException {
////		return null;
////	}
//}
